package com.sh;

import com.sh.bean.User;
import com.sh.parse.JsonParseVersionOne;
import com.sh.util.FileUtil;

import java.util.List;

/**
 * Hello world!
 */
public class App {
    public static void main(String[] args) {
        String text = FileUtil.readFile("D:\\java_workspace\\allproject\\DIY_JSONAnalysis\\src\\main\\resources\\test.json");
        List<User> users = JsonParseVersionOne.parseJson(text);
        users.forEach(System.out::println);
    }
}
